<?php require $this->_ci_view_path.'head.php';?>
<div class="wrap clearfix">
    <div class="mn_aside fl">
        <?php require $this->_ci_view_path.'left.php';?>
    </div>
    <div class="mn_main fr pdt20">
    	<!--采购信息-->
    	<div class="bg_tab_list">
    		<ul class="clearfix">
    			<li class="sel"><a href="<?php echo site_url('product/buy');?>">采购信息</a></li>
    			<li><a href="<?php echo site_url('product/sell');?>">供应信息</a></li>
    		</ul>
    	</div>
    	<!--供应信息<div class="bg_tab_list out">
    		<ul class="clearfix">
    			<li><a href="javascript://">采购信息</a></li>
    			<li class="sel"><a href="javascript://">供应信息</a></li>
    		</ul>
    	</div>-->
    	<div class="info_ads clearfix mgb20">
    		<span class="img"><a href="#" title="" target="_blank"><img src="<?php echo base_url();?>static/images/index_124.png"></a></span>
    		<div class="text">只能写两行只能写两行只能写两行只能写两行只能写两行只能写两行只能写两行这是广告文字这是广告文字这是广告文字这是广告文字这是广告文字这是广告文字</div>
    	</div>
		<div>
			<div class="m_title info_list_search clearfix">
				<span class="fr"><input type="text" value="" class="ipt_txt mgr5" /><input type="submit" value="" class="btn_search" /></span>
				<select class="fr mgr10">
					<option>材质</option>
					<option>材质</option>
					<option>材质</option>
				</select>
			</div>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="cell_close_list c_blue">
			  <tr class="bg">
				<th>编号</th>
				<th>品名</th>
				<th>经纱</th>
				<th>纬纱</th>
				<th>经密</th>
				<th>纬密</th>
				<th>克重</th>
				<th>成分</th>
				<th>组织</th>
				<th>颜色</td>
				<th>整理</th>
				<th>磨毛</th>
				<th>&nbsp;</th>
			  </tr>
			  <?php
				if (!empty($result)) {
					foreach ($result as $r) {
				  ?>
					  <tr class="blue">
						<td><?=$r['num']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><?=$r['name']?></td>
						<td><a href="<?php echo site_url('product/detail/'.$r['id']);?>" title="" class="view_vip"></a></td>
					  </tr>
				  <?php 
					  }
				} else {
				  ?>
				  <tr class="blue">
					<td  colspan=12 align='center'>暂无数据...</td>
				  </tr>
				 <?php
				}
				?>
			</table>
			<div class="mod_page mgt20">
				<?php echo $page_bar;?>
			</div>
			<div class="mn_public tr mgt10">
				<a href="<?php echo site_url('product/release');?>" class="btn_pub mgr15">发布</a><a href="javascript:void(0);" onclick='window.history.back();' class="btn_edit">返回</a>
			</div>
		</div>
    </div>
</div>
<?php require $this->_ci_view_path.'foot.php';?>